package com.example.weather.old.bean;

import com.alibaba.fastjson.annotation.JSONField;
import com.google.gson.annotations.SerializedName;
import com.squareup.moshi.Json;

import java.io.Serializable;
import java.util.List;

public class Weather implements Serializable {
    private String status;

    // gson
    @SerializedName("daily_forecast")
    // fastjson
    @JSONField(name = "daily_forecast")
    // moshi
    @Json(name = "daily_forecast")
    private List<DailyForecast> forecasts;

    public List<DailyForecast> getForecasts() {
        return forecasts;
    }

    public void setForecasts(List<DailyForecast> forecasts) {
        this.forecasts = forecasts;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

}
